package cn.stylefeng.guns.modular.hx.storage.mapper;

import cn.stylefeng.guns.modular.hx.storage.entity.HxStoreReturnsRegister;
import cn.stylefeng.guns.modular.hx.storage.model.params.HxStorageOffShelfParam;
import cn.stylefeng.guns.modular.hx.storage.model.params.HxStoreReturnsRegisterParam;
import cn.stylefeng.guns.modular.hx.storage.model.result.HxStorageOffShelfResult;
import cn.stylefeng.guns.modular.hx.storage.model.result.HxStoreReturnsRegisterResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 门店退货登记 Mapper 接口
 * </p>
 *
 * @author ZDW
 * @since 2024-09-02
 */
public interface HxStoreReturnsRegisterMapper extends BaseMapper<HxStoreReturnsRegister> {

    /**
     * 获取列表
     *
     * @author ZDW
     * @Date 2024-09-02
     */
    List<HxStoreReturnsRegisterResult> customList(@Param("paramCondition") HxStoreReturnsRegisterParam paramCondition);

    /**
     * 获取map列表
     *
     * @author ZDW
     * @Date 2024-09-02
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") HxStoreReturnsRegisterParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author ZDW
     * @Date 2024-09-02
     */
    Page<HxStoreReturnsRegisterResult> customPageList(@Param("page") Page page, @Param("paramCondition") HxStoreReturnsRegisterParam paramCondition, @Param("condition") String condition, @Param("operateId") Long operateId);

    /**
     * 获取分页map列表
     *
     * @author ZDW
     * @Date 2024-09-02
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") HxStoreReturnsRegisterParam paramCondition);

}